package com.liuwa.common.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description:
 * @Author: Liuwa
 * @Date: 2023/1/16 15:56
 */
@ApiModel(description = "字典选项")
public class DictOption<T> {

    /**
     * 选项值
     */
    @ApiModelProperty(name = "value", value="选项值")
    private T value;

    /**
     * 选项标签
     */
    @ApiModelProperty(name = "label", value="选项标签")
    private String label;

    public T getValue() {
        return value;
    }

    public void setValue(T value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
